package com.weiyuanstudio.nextstep.persistence.entity;

import com.weiyuanstudio.nextstep.enums.TaskStatus;
import com.weiyuanstudio.nextstep.util.AbstractSnowflakePersistable;
import jakarta.persistence.Entity;
import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Entity
@Slf4j
@Data
@EqualsAndHashCode(callSuper = true)
public class SyncTaskRecord extends AbstractSnowflakePersistable {
    @Enumerated(EnumType.STRING)
    private TaskStatus taskStatus;
    private LocalDateTime logDateTime;
}
